package com.yohann.exam_service.service;

import com.yohann.exam_service.entity.Reading;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 阅读表 服务类
 * </p>
 *
 * @author Yohann
 * @since 2020-11-19
 */
public interface ReadingService extends IService<Reading> {

    Map<String, Object> queryWriting(int current, int limit, Integer type);

    List<Reading> queryReading(int type);
}
